import axios from '@/libs/request/axios'

//查询银行到账记录列表
export const queryBankArriveList = (params) => {
    return axios.request({
        url: `/contractManage/bankArriveManagement/queryBankArriveList`,
        params: params,
        method: 'post'
    })
}
//根据对公勾稽案件编号查询银行到账记录列表
export const queryBankArriveListByCaseNo = (params) => {
    return axios.request({
        url: `/contractManage/bankArriveManagement/queryBankArriveListByCaseNo`,
        params: params,
        method: 'post'
    })
}
//查询银行到账记录
export const deleteAccountRegister = (params) => {
    return axios.request({
        url: `/contractManage/bankArriveManagement/deleteAccountRegister`,
        params: params,
        method: 'post'
    })
}
//查询银行到账记录
export const generaAccountRegister = (params) => {
    return axios.request({
        url: `/contractManage/bankArriveManagement/generaAccountRegister`,
        params: params,
        method: 'post'
    })
}
//新增银行到账记录
export const addSubmit = (params) => {
    return axios.request({
        url: `/contractManage/bankArriveManagement/addSubmit`,
        data: params,
        method: 'post'
    })
}
//编辑银行到账记录
export const editSubmit = (params) => {
    return axios.request({
        url: `/contractManage/bankArriveManagement/editSubmit`,
        data: params,
        method: 'post'
    })
}
//凭证冲红
export const writeBack = (params) => {
    return axios.request({
        url: `/contractManage/bankArriveManagement/writeBack`,
        params: params,
        method: 'post'
    })
}
